package gui;

import javax.swing.*;

import data.User;

import java.awt.Font;

public class CreateUser extends JPanel{
	private JLabel lblPleaseTypeIn;
	private JLabel lblFirstname;
	private JLabel lblLastname;
	private JLabel lblID;
	private JLabel lblPIN;
	private JLabel lblCreateAUser;
	private JTextField firstnametext;
	private JTextField lastnametext;
	private JTextField idtext;
	private JTextField pintext;
	private JButton btnContinue;
	private JButton btnCancel;
	public CreateUser() {
		setLayout(null);
		
		lblPleaseTypeIn = new JLabel("Please type in your information:");
		lblPleaseTypeIn.setFont(new Font("SansSerif", Font.BOLD, 14));
		lblPleaseTypeIn.setBounds(112, 48, 238, 19);
		add(lblPleaseTypeIn);
		
		lblFirstname = new JLabel("Firstname");
		lblFirstname.setFont(new Font("SansSerif", Font.BOLD, 14));
		lblFirstname.setBounds(112, 79, 77, 19);
		add(lblFirstname);
		
		lblLastname = new JLabel("Lastname");
		lblLastname.setFont(new Font("SansSerif", Font.BOLD, 14));
		lblLastname.setBounds(112, 109, 70, 19);
		add(lblLastname);
		
		lblID = new JLabel("ID");
		lblID.setFont(new Font("SansSerif", Font.BOLD, 14));
		lblID.setBounds(112, 142, 27, 19);
		add(lblID);
		
		lblPIN = new JLabel("PIN");
		lblPIN.setFont(new Font("SansSerif", Font.BOLD, 14));
		lblPIN.setBounds(112, 175, 27, 19);
		add(lblPIN);
		
		lblCreateAUser = new JLabel("Create a User");
		lblCreateAUser.setFont(new Font("SansSerif", Font.BOLD, 16));
		lblCreateAUser.setBounds(169, 11, 140, 21);
		add(lblCreateAUser);
		
		firstnametext = new JTextField();
		firstnametext.setBounds(192, 79, 158, 20);
		add(firstnametext);
		firstnametext.setColumns(10);
		
		lastnametext = new JTextField();
		lastnametext.setBounds(192, 110, 158, 20);
		add(lastnametext);
		lastnametext.setColumns(10);
		
		idtext = new JTextField();
		idtext.setBounds(192, 142, 158, 20);
		add(idtext);
		idtext.setColumns(10);
		
		pintext = new JTextField();
		pintext.setBounds(192, 171, 158, 28);
		add(pintext);
		pintext.setColumns(10);
		
		btnContinue = new JButton("Continue");
		btnContinue.setBounds(246, 227, 117, 29);
		add(btnContinue);
		
		btnCancel = new JButton("Cancel");
		btnCancel.setBounds(104, 227, 117, 29);
		add(btnCancel);
	}
}
